<extend name="Layout:layout_list" />
<block name="body_content_block">
    <form method="post" action="{:AddonU('CtiTester/test_status')}">
        选择命令：
        <select onchange="$(this).next().val($(this).val());">
            <option>选择命令</option>
            <option value="core show channels verbose">中继状态</option>
            <option value="core show channels concise">通道状态</option>
            <option value="sip show peers">分机状态</option>
            <option value="queue show">队列状态</option>
            <option value="core show hints">SIP分机状态</option>
            <option value="sip show peer 分机号">分机详情</option>
            <option value="NOT_INUSE 分机号">修复分机状态</option>
            <option value="channel request hangup 通道号">清零分机时长</option>
        </select>
        <input type="text" name="cmd" size="30" value="{$cmd}" />
        <input type="submit" value="执行" />
    </form>
    <div style="max-width:960px;max-height:600px; overflow: scroll;"><pre>{$list}</pre></div>
</block>